export default {
  changeCity (state, city) {
    state.city = city
    try { // 把city储存到localStorage中，这样页面刷新后依然保留操作
      localStorage.city = city
    } catch (e) {}
  }
}
